package com.micro.modual.entity;

import javax.persistence.Id;

import lombok.Data;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.persistence.Table;
import java.io.Serializable;
									    import java.util.Date;
																						
/**
 *
 * <h1>用户账户表表 micro_user_account</h1>
 * @author levelcoder
 * @date 2020-08-04 00:11:09
 */
@ApiModel(description = "用户账户表")
@Data
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "micro_user_account")
public class UserAccount implements Serializable{

	private static final long serialVersionUID = 1L;

	@Id
    @ApiModelProperty(value = "主键编号")
	private Long id;

	
			
					/**
			 * 账户编号
			 */
        	@ApiModelProperty(value = "账户编号")
			private String accountNo;

			
					/**
			 * 用户编号
			 */
        	@ApiModelProperty(value = "用户编号")
			private String userCode;

			
					/**
			 * 账户类型
			 */
        	@ApiModelProperty(value = "账户类型")
			private String accountType;

			
					/**
			 * 账户余额 = 冻结余额 + 可用余额 
			 */
        	@ApiModelProperty(value = "账户余额 = 冻结余额 + 可用余额 ")
			private String accountBalance;

			
					/**
			 * 冻结余额
			 */
        	@ApiModelProperty(value = "冻结余额")
			private String freezeBalance;

			
					/**
			 * 可用余额:可用于支付/提现/转账等操作'
			 */
        	@ApiModelProperty(value = "可用余额:可用于支付/提现/转账等操作'")
			private String usableBalance;

			
					/**
			 * 账户状态 1.启用 2.禁用'
			 */
        	@ApiModelProperty(value = "账户状态 1.启用 2.禁用'")
			private Byte accountStatus;

			
					/**
			 * 创建时间
			 */
        	@ApiModelProperty(value = "创建时间")
			private Date createTime;

			
					/**
			 * 修改时间
			 */
        	@ApiModelProperty(value = "修改时间")
			private Date updateTime;

			}
